<!--
 * @Author: myw
 * @Email: 516378746@qq.com
 * @Date: 2020-02-24 08:48:29
 * @Descripttion: 
 -->
<div class="gutter-box">
    <div class="user_info" nz-dropdown [nzDropdownMenu]="menu" nzTrigger="click">
        <nz-avatar nzIcon="user" [nzSize]="26" class="avatar" [nzSrc]="userInfo?.avatar"></nz-avatar>
        <span class="name">{{ userInfo?.nickName }}</span>
    </div>
    <nz-dropdown-menu #menu="nzDropdownMenu">
        <ul nz-menu nzSelectable class="login_out">
            <li nz-menu-item (click)="editPassword()">
                <a>个人中心</a>
            </li>
            <li nz-menu-item (click)="loginOut()">
                <a>退出</a>
            </li>
        </ul>
    </nz-dropdown-menu>
</div>
